package com.dudsbury.database;
import org.joda.time.DateTime;



public class MyDateTime  {
	
	
	private DateTime dateTime;

	
	public MyDateTime(DateTime dateTime) {
		
		this.dateTime = dateTime;
		
	}


	public DateTime getDateTime() {
		return dateTime;
	}


	public void setDateTime(DateTime dateTime) {
		this.dateTime = dateTime;
	}
	
	@Override
	public String toString() {
		
		return String.format("%d/%d/%d",dateTime.dayOfMonth().get(),dateTime.monthOfYear().get(),dateTime.year().get());
	}
}
